import request from '@/utils/request'

export function stockList(params) {
  return request({
    url: '/stock/list',
    method: 'post',
    params
  })
}

export function dayList(params) {
  return request({
    url: '/stock/day',
    method: 'post',
    params
  })
}

export function timeList(params) {
  return request({
    url: '/stock/time',
    method: 'post',
    params
  })
}
export function stockType() {
  return request({
    url: '/stock/gettype',
    method: 'post'
  })
}
export function stock_single_product_daily_sum() {
  return request({
    url: '/pnl_analysis/stock_product/stock_single_product_daily_sum',
    method: 'post'
  })
}
